package BNS.coloring;

import BNS.plumbing.ClientLiaison;


/** A class used by ColoringGame to hold all data pertinent to a particular player
	(aka Client) (aka ClientLiaison).
	*/
public class NodeState implements java.io.Serializable {
	/**
   * 
   */
  //private static final long serialVersionUID = 1L;

  transient ClientLiaison client;
	
	/** index of this node;
		colorInt is the abstraction of a "color"
		numColorChanges is  the number of times the player has changed color. */
	int index, colorInt, numColorChanges;
	
	/** constructor giving default values to various variables. 
		@param idx The graph's index of the node for which this object is being created.
		@param clr The color of the node.
	*/
	public NodeState(int idx, int clr) { index=idx; colorInt=clr; numColorChanges = 0;}
	}
